insert

open fun insert(@NonNull uri: Uri, @NonNull values: ContentValues): Uri(source)

By default, this method throws an UnsupportedOperationException. You must subclass FileProvider if you want to provide different functionality.